<template>
  <div class="Home-box">
    <h2>首页</h2>
    <div @click="goNotes()">前往手记 </div>
    <div @click="goFind()">前往发现</div>
    <div @click="gocreates()">前往创作人</div>
  </div>
</template>

<script>
  export default {
    name:'Home',
    data(){
      return{
        
      }
    },


  methods:{

    goNotes(){
      this.$router.push({name: 'Notes', params: {}}); 
    },

    goFind(){
      this.$router.push({name: 'Find', params: {}}); 
    }

  }





  }



</script>

<style lang="less" scoped>
  .Home-box{
    line-height: 50px;
  }



</style>
